package com.ruoyi.training.service;

import com.ruoyi.training.domain.CurriculumChapter;

import java.util.List;

/**
 * 课程章节管理Service接口
 *
 * @author wng
 * @date 2024-08-04
 */
public interface ICurriculumChapterService {
    /**
     * 查询课程章节管理
     *
     * @param id 课程章节管理主键
     * @return 课程章节管理
     */
    public CurriculumChapter selectCurriculumChapterById(Long id);

    /**
     * 查询课程章节管理列表
     *
     * @param curriculumChapter 课程章节管理
     * @return 课程章节管理集合
     */
    public List<CurriculumChapter> selectCurriculumChapterList(CurriculumChapter curriculumChapter);

    /**
     * 新增课程章节管理
     *
     * @param curriculumChapter 课程章节管理
     * @return 结果
     */
    public int insertCurriculumChapter(CurriculumChapter curriculumChapter);

    /**
     * 修改课程章节管理
     *
     * @param curriculumChapter 课程章节管理
     * @return 结果
     */
    public int updateCurriculumChapter(CurriculumChapter curriculumChapter);

    /**
     * 批量删除课程章节管理
     *
     * @param ids 需要删除的课程章节管理主键集合
     * @return 结果
     */
    public int deleteCurriculumChapterByIds(Long[] ids);

    /**
     * 删除课程章节管理信息
     *
     * @param id 课程章节管理主键
     * @return 结果
     */
    public int deleteCurriculumChapterById(Long id);
}
